package com.tender.integration.config.redis;

import com.tender.constants.Constants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author  cuisudong
 *
 */
@Data
@ConfigurationProperties(prefix = "spring.redis")
public class RedisShiroProperties {

    private int database;

    private String host;

    private int port = Constants.REDIS_DEFAULT_PORT;

    //  连接超时时间(ms)
    private long timeout = 1800000L;

    // 命令行 auth 密码
    // 连接redis 的密码
    private String password;

}
